package net.xju3_4.service.impl;


import net.xju3_4.common.utils.PageInfo;
import net.xju3_4.dao.MerchantApplicationDao;
import net.xju3_4.entity.MerchantApplicationEntity;
import net.xju3_4.service.MerchantApplicationService;
import net.xju3_4.common.utils.JdbcUtilsV1;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public class MerchantApplicationServiceImpl implements MerchantApplicationService {
    private MerchantApplicationDao merchantApplicationDao=new MerchantApplicationDao();

    @Override
    public PageInfo<MerchantApplicationEntity> pagelist(Integer pageNo, Integer pageSize, MerchantApplicationEntity application) {
         return merchantApplicationDao.pagelist(pageNo, pageSize, application);
    }

    @Override
    public Integer accept(Integer id) {
        return merchantApplicationDao.accept(id);
    }

    @Override
    public int reject(Integer id) {
        return merchantApplicationDao.reject(id);
    }

    @Override
    public int deleted(Integer id) {
        return merchantApplicationDao.deleted(id);
    }
}

